

.container{
    position: relative;
    width: 320px;
    height: 480px;
    background: url(../images/game_bg.jpg) no-repeat 0 0;
    margin: 100px auto;
    overflow: hidden;
    .designer{
        position: absolute;
        bottom: 16px;
        right: 0;
    }
    .score{
        margin-top: 5px;
        margin-left: 57px;
        color: #fff;
        font-size: 30px;

    }
    .time{
        position: absolute;
        top: 66px;
        left: 63px;
        width: 180px;
        height: 16px;
        background: url(../images/progress.png) no-repeat 0 0;
    }
    .start{
        position: absolute;
        top: 341px;
        left: 50%;
        transform: translate(-50%);
        width: 150px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        color: #fff;
        // 背景颜色是渐变色
        background: linear-gradient(#E55C3D,#C50000);
        border-radius: 27px;
        border: none;
        span{
            cursor: pointer;
        }

    }
    .rules{
        text-align: center;
        width: 100%;
        line-height: 15px;
        height: 15px;
        background-color: #ccc;
        position: absolute;
        bottom: 0;
        span{
            cursor: pointer;
        }
    }
    .rule{
        display: none;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 120px;
        box-sizing: border-box;
        text-align: center;
        line-height: 40px;
        color: #fff;
        font-size: 14px;
        a{
            color: red;
        }
    }
    .mask{
        display: none;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
        padding-top: 150px;
        box-sizing: border-box;
        text-align: center;
        font-size: 18px;
        text-shadow: 2px 3px 0 #fff;
        color: rgb(255,69,0);
        background-color: rgba(0,0,0,0.5);
        button{
        position:absolute;
        top: 341px;
        left: 50%;
        transform: translate(-50%);
        width: 150px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        color: #fff;
        // 背景颜色是渐变色
        background: linear-gradient(#74ACCF,#007DDC);
        border-radius: 27px;
        border: none;

        }
    }
}